from sugar.activity import activity
import game

class TypingGameActivity(activity.Activity):
    
    def __init__(self, handle):
        activity.Activity.__init__(self, handle)
        self.connect('destroy', self.destroy_cb)
        self.set_title('Typing Game')
        self.thisgame = game.TypingGame(self)
        
    def destroy_cb(self, data=None):
        return True
